package com.cosmoplat.xikai.business.domain.mes.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @ClassName MesAlarmCloseRequest
 * @Description mes告警关闭请求
 * @Author wdf
 * @Date 2025/1/10
 */
@Data
public class MesAlarmCloseRequest {

    @ApiModelProperty(value = "报警任务ID", example = "ALMT001")
    private String taskID;

    @ApiModelProperty(value = "处理信息列表")
    private List<HandleInfo> handleInfo;

    @Data
    public static class HandleInfo {

        @ApiModelProperty(value = "处理用户ID", example = "U001")
        private String userId;

        @ApiModelProperty(value = "处理用户编号", example = "USER123")
        private String userCode;

        @ApiModelProperty(value = "处理用户名称", example = "王五")
        private String userName;

        @ApiModelProperty(value = "处理开始时间", example = "2025-01-10 16:00:00")
        private Date startTime;

        @ApiModelProperty(value = "处理完成时间", example = "2025-01-10 17:00:00")
        private Date endTime;
    }
}
